package netPacks;

import java.io.*;
import java.net.*;

@SuppressWarnings("serial")
public class message implements Serializable{
	
	public message(){}
	
	InetAddress userId = null;
	String action = null;
	String data = null;
	
	public String getAction(){
		return this.action;
	}
	
	public InetAddress getUserId(){
		return this.userId;
	}
	
	public void setUserId(InetAddress id){
		this.userId = id;
	}
	
	public void setAction(String act){
		this.action = act;
	}
	
	public void setData(String data){
		this.data = data;
	}
	
	public String getData(){
		return this.data;
	}
}
